<div class="xkcmsleft">
<if condition='CONTROLLER_NAME eq "Index"'>
  <volist name="head_nav" id="vh">
     <div class="xm_lnavk">
         <div class="xm_lbtn xm_lbtn_hover">
            <a href="{:U($vh['controller'].'/index')}" style="color:#fff; display:block">{$vh.no_show_name}&nbsp;&nbsp;</a>
          </div>
     </div>
   </volist>
 <else/>
   <volist name='slide_nav' id='sl'>
      <div class="xm_lnavk">
         <div class="xm_lbtn <if condition="$sl['no_name'] eq CONTROLLER_NAME">xm_lbtn_hover</if>">
            <a href="{:U($sl['no_name'].'/index')}" style="color:#fff; display:block" class="slidehref">
               {$sl.no_show_name}&nbsp;&nbsp;
               <span class="glyphicon 
                    <if condition="$sl['no_name'] eq CONTROLLER_NAME">
                         glyphicon-chevron-down
                       <else/>  glyphicon-chevron-right
                    </if>

                     fr">
                </span>
            </a>
          </div>
          
            <ul class='leftlit' <if condition="$sl['no_name'] eq CONTROLLER_NAME">style='display:block'</if>>
               <volist name='sl.son' id='son'>
               <li <if condition="ACTION_NAME eq $son['no_name']"> class="bgray"</if>>
                  <a href="{:U($sl['no_name'].'/'.$son['no_name'])}">{$son.no_show_name}</a>
                </li>
               </volist>
            </ul>
          
     </div> 
   </volist>    
</if>
</div>
<script type="text/javascript">
     $(document).ready(function(){
          $(".slidehref").click(function(){
          $(".leftlit").hide();
          $(this).parent().next().show();    
              return false;
          });
     });
</script>